﻿using System;
using System.Collections.Generic;
using System.Data;
namespace WPFExcelReport
{
    public partial class VAPFOLGE
    {
        private VAPARTK _VAPK;
         
        public VAPARTK VAPK
        {
            get
            {
                if (!ENVMAIN.ContainsKey("VAPK"))
                    ENVMAIN["VAPK"] = new VAPARTK();
                return (VAPARTK)ENVMAIN["VAPK"];
            }
        }
        public VAPARTE VAPE
        {
            get
            {
                if (!ENVMAIN.ContainsKey("VAPE"))
                    ENVMAIN["VAPE"] = new VAPARTE();
                return (VAPARTE)ENVMAIN["VAPE"];
            }
        }
        public readonly static VAPFOLGE Instance = new VAPFOLGE();
        public void Insert(DataRow _dwAPK)
        {
            InsertAPFOLGE(_dwAPK, app.company);
            TBMain.Rows.InsertAt(_dwAPK, 0);
        }
        public void COPYFLOW(Dictionary<string, object> pm)
        {
            dwData = TBMain.NewRow();
            dwData["APFMANDANT"] = app.Mandant;
            dwData["APFANRKRS"] = ((string)pm["TFLOW"]).Substring(0, 2);
            dwData["APFALFDNR"] = ((string)pm["TFLOW"]).Substring(2, 6);
            DAPF02(dwData);
            dwData = TBMain.NewRow();
            dwData["APFMANDANT"] = app.Mandant;
            dwData["APFANRKRS"] = ((string)pm["SFLOW"]).Substring(0, 2);
            dwData["APFALFDNR"] = ((string)pm["SFLOW"]).Substring(2, 6);
            SResult = QAPF01(dwData);
            foreach (DataRow row in SResult.Tables[0].Rows)
            {
                row["APFANRKRS"] = ((string)pm["TFLOW"]).Substring(0, 2);
                row["APFALFDNR"] = ((string)pm["TFLOW"]).Substring(2, 6); 
                InsertAPFOLGE(row, app.company);
            }
        }
        public void NEWAPP(Dictionary<string, object> pm)
        {
            string kstinfo = pm["DES"].ToString().PadRight(81);
            dwData = TBMain.NewRow();
            SetUpNewRow(ref dwData);
            dwData["APFMANDANT"] = app.Mandant;
            dwData["APFANRKRS"] = (string)pm["NRKRS"];
            dwData["APFALFDNR"] = (string)pm["LFDNR"];
            dwData["APFAFOLGE"] = (string)pm["FOLGE"];
            dwData["APFKSTKRS"] = kstinfo.Substring(0, 2);
            dwData["APFKST"] = kstinfo.Substring(2, 4);
            dwData["APFAGANG"] = kstinfo.Substring(6, 15);
            dwData["APFBZAGANG"] = kstinfo.Substring(21, 20).PadRight(60);
            Insert(dwData);
        }
        public string GETEVOR(Dictionary<string, object> pm)
        {
            string _EVOR = "0001";
            _EVOR = VAPK.GETEVOR(pm);//相同品种是否已经存在
            if (_EVOR != "")
                return _EVOR;
            dwData = TBMain.NewRow();
            SetUpNewRow(ref dwData);
            dwData["APFMANDANT"] = app.Mandant;

            dwData["APFANRKRS"] = (string)pm["NRKRS"];
            dwData["APFALFDNR"] = (string)pm["LFDNR"];
            dwData["APFAFOLGE"] = (string)pm["FOLGE"];
            SResult = QAPF10(dwData);
            foreach (DataRow row in SResult.Tables[0].Rows)
            {
                _EVOR = row["APFAEVOR"].ToString();
            }
            _EVOR = Helpers.Helper.Right("0000" + (Convert.ToUInt32(_EVOR) + 1).ToString(), 4);
            dwData["APFAEVOR"] = _EVOR;
            UAPF02(dwData);
            return _EVOR;

        }
    }
    public partial class VAPFOLGE
    {

        public string APFMANDANT { get { if (dwMaster == null) return ""; return dwMaster["APFMANDANT"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFMANDANT"] = value; OnPropertyChanged("APFMANDANT", value); } } //lENGth 2
        public string APFWERK { get { if (dwMaster == null) return ""; return dwMaster["APFWERK"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFWERK"] = value; OnPropertyChanged("APFWERK", value); } } //lENGth 3
        public string APFANRKRS { get { if (dwMaster == null) return ""; return dwMaster["APFANRKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFANRKRS"] = value; OnPropertyChanged("APFANRKRS", value); } } //lENGth 2
        public string APFALFDNR { get { if (dwMaster == null) return ""; return dwMaster["APFALFDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFALFDNR"] = value; OnPropertyChanged("APFALFDNR", value); } } //lENGth 6
        public string APFAFOLGE { get { if (dwMaster == null) return ""; return dwMaster["APFAFOLGE"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFAFOLGE"] = value; OnPropertyChanged("APFAFOLGE", value); } } //lENGth 3
        public string APFAGANG { get { if (dwMaster == null) return ""; return dwMaster["APFAGANG"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFAGANG"] = value; OnPropertyChanged("APFAGANG", value); } } //lENGth 15
        public string APFBZAGANG { get { if (dwMaster == null) return ""; return dwMaster["APFBZAGANG"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBZAGANG"] = value; OnPropertyChanged("APFBZAGANG", value); } } //lENGth 60
        public string APFKSTKRS { get { if (dwMaster == null) return ""; return dwMaster["APFKSTKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKSTKRS"] = value; OnPropertyChanged("APFKSTKRS", value); } } //lENGth 2
        public string APFKST { get { if (dwMaster == null) return ""; return dwMaster["APFKST"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKST"] = value; OnPropertyChanged("APFKST", value); } } //lENGth 4
        public string APFSTDMASCH { get { if (dwMaster == null) return ""; return dwMaster["APFSTDMASCH"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFSTDMASCH"] = value; OnPropertyChanged("APFSTDMASCH", value); } } //lENGth 2
        public string APFMTYP { get { if (dwMaster == null) return ""; return dwMaster["APFMTYP"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFMTYP"] = value; OnPropertyChanged("APFMTYP", value); } } //lENGth 8
        public string APFPARALKZ { get { if (dwMaster == null) return ""; return dwMaster["APFPARALKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFPARALKZ"] = value; OnPropertyChanged("APFPARALKZ", value); } } //lENGth 1
        public string APFBLOCKKZ1 { get { if (dwMaster == null) return ""; return dwMaster["APFBLOCKKZ1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBLOCKKZ1"] = value; OnPropertyChanged("APFBLOCKKZ1", value); } } //lENGth 1
        public string APFBLOCKKZ2 { get { if (dwMaster == null) return ""; return dwMaster["APFBLOCKKZ2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBLOCKKZ2"] = value; OnPropertyChanged("APFBLOCKKZ2", value); } } //lENGth 1
        public string APFSTATKZ { get { if (dwMaster == null) return ""; return dwMaster["APFSTATKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFSTATKZ"] = value; OnPropertyChanged("APFSTATKZ", value); } } //lENGth 1
        public double APFPROZMG { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFPROZMG"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFPROZMG"] = value; OnPropertyChanged("APFPROZMG", value); } } //lENGth 0
        public string APFKALKKZ { get { if (dwMaster == null) return ""; return dwMaster["APFKALKKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKALKKZ"] = value; OnPropertyChanged("APFKALKKZ", value); } } //lENGth 1
        public string APFDISPOST { get { if (dwMaster == null) return ""; return dwMaster["APFDISPOST"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFDISPOST"] = value; OnPropertyChanged("APFDISPOST", value); } } //lENGth 1
        public string APFARTKZ { get { if (dwMaster == null) return ""; return dwMaster["APFARTKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFARTKZ"] = value; OnPropertyChanged("APFARTKZ", value); } } //lENGth 1
        public string APFARTAUSN { get { if (dwMaster == null) return ""; return dwMaster["APFARTAUSN"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFARTAUSN"] = value; OnPropertyChanged("APFARTAUSN", value); } } //lENGth 1
        public string APFZUSKZ { get { if (dwMaster == null) return ""; return dwMaster["APFZUSKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZUSKZ"] = value; OnPropertyChanged("APFZUSKZ", value); } } //lENGth 2
        public string APFZUSAUSN { get { if (dwMaster == null) return ""; return dwMaster["APFZUSAUSN"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZUSAUSN"] = value; OnPropertyChanged("APFZUSAUSN", value); } } //lENGth 1
        public string APFRUECKKZ { get { if (dwMaster == null) return ""; return dwMaster["APFRUECKKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFRUECKKZ"] = value; OnPropertyChanged("APFRUECKKZ", value); } } //lENGth 1
        public string APFKENNUNG { get { if (dwMaster == null) return ""; return dwMaster["APFKENNUNG"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKENNUNG"] = value; OnPropertyChanged("APFKENNUNG", value); } } //lENGth 2
        public string APFLAGPLKZ { get { if (dwMaster == null) return ""; return dwMaster["APFLAGPLKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFLAGPLKZ"] = value; OnPropertyChanged("APFLAGPLKZ", value); } } //lENGth 1
        public string APFMATABR { get { if (dwMaster == null) return ""; return dwMaster["APFMATABR"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFMATABR"] = value; OnPropertyChanged("APFMATABR", value); } } //lENGth 1
        public string APFSONDERKZ { get { if (dwMaster == null) return ""; return dwMaster["APFSONDERKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFSONDERKZ"] = value; OnPropertyChanged("APFSONDERKZ", value); } } //lENGth 1
        public string APFZUSATZ1 { get { if (dwMaster == null) return ""; return dwMaster["APFZUSATZ1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZUSATZ1"] = value; OnPropertyChanged("APFZUSATZ1", value); } } //lENGth 1
        public string APFZUSATZ2 { get { if (dwMaster == null) return ""; return dwMaster["APFZUSATZ2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZUSATZ2"] = value; OnPropertyChanged("APFZUSATZ2", value); } } //lENGth 1
        public string APFZUSATZ3 { get { if (dwMaster == null) return ""; return dwMaster["APFZUSATZ3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZUSATZ3"] = value; OnPropertyChanged("APFZUSATZ3", value); } } //lENGth 1
        public string APFZUSATZ4 { get { if (dwMaster == null) return ""; return dwMaster["APFZUSATZ4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZUSATZ4"] = value; OnPropertyChanged("APFZUSATZ4", value); } } //lENGth 1
        public string APFZUSATZ5 { get { if (dwMaster == null) return ""; return dwMaster["APFZUSATZ5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZUSATZ5"] = value; OnPropertyChanged("APFZUSATZ5", value); } } //lENGth 1
        public string APFZUSTAND { get { if (dwMaster == null) return ""; return dwMaster["APFZUSTAND"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZUSTAND"] = value; OnPropertyChanged("APFZUSTAND", value); } } //lENGth 4
        public string APFDOMPART { get { if (dwMaster == null) return ""; return dwMaster["APFDOMPART"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFDOMPART"] = value; OnPropertyChanged("APFDOMPART", value); } } //lENGth 1
        public string APFFERTIG { get { if (dwMaster == null) return ""; return dwMaster["APFFERTIG"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFFERTIG"] = value; OnPropertyChanged("APFFERTIG", value); } } //lENGth 1
        public string APFPRUEFANW { get { if (dwMaster == null) return ""; return dwMaster["APFPRUEFANW"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFPRUEFANW"] = value; OnPropertyChanged("APFPRUEFANW", value); } } //lENGth 1
        public string APFPROBE { get { if (dwMaster == null) return ""; return dwMaster["APFPROBE"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFPROBE"] = value; OnPropertyChanged("APFPROBE", value); } } //lENGth 1
        public string APFPAPIERKZ { get { if (dwMaster == null) return ""; return dwMaster["APFPAPIERKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFPAPIERKZ"] = value; OnPropertyChanged("APFPAPIERKZ", value); } } //lENGth 1
        public string APFEINSTKA { get { if (dwMaster == null) return ""; return dwMaster["APFEINSTKA"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFEINSTKA"] = value; OnPropertyChanged("APFEINSTKA", value); } } //lENGth 1
        public double APFLAEAEND { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFLAEAEND"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFLAEAEND"] = value; OnPropertyChanged("APFLAEAEND", value); } } //lENGth 0
        public string APFLAEAENDO { get { if (dwMaster == null) return ""; return dwMaster["APFLAEAENDO"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFLAEAENDO"] = value; OnPropertyChanged("APFLAEAENDO", value); } } //lENGth 2
        public double APFGEWAEND { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFGEWAEND"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFGEWAEND"] = value; OnPropertyChanged("APFGEWAEND", value); } } //lENGth 0
        public double APFMLMG { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFMLMG"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFMLMG"] = value; OnPropertyChanged("APFMLMG", value); } } //lENGth 0
        public double APFBASMGE { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFBASMGE"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFBASMGE"] = value; OnPropertyChanged("APFBASMGE", value); } } //lENGth 0
        public string APFME { get { if (dwMaster == null) return ""; return dwMaster["APFME"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFME"] = value; OnPropertyChanged("APFME", value); } } //lENGth 1
        public string APFZE { get { if (dwMaster == null) return ""; return dwMaster["APFZE"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZE"] = value; OnPropertyChanged("APFZE", value); } } //lENGth 2
        public double APFZEITB { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITB"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITB"] = value; OnPropertyChanged("APFZEITB", value); } } //lENGth 0
        public double APFPERSANZ { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFPERSANZ"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFPERSANZ"] = value; OnPropertyChanged("APFPERSANZ", value); } } //lENGth 0
        public string APFQUALI { get { if (dwMaster == null) return ""; return dwMaster["APFQUALI"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFQUALI"] = value; OnPropertyChanged("APFQUALI", value); } } //lENGth 6
        public string APFLGRP { get { if (dwMaster == null) return ""; return dwMaster["APFLGRP"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFLGRP"] = value; OnPropertyChanged("APFLGRP", value); } } //lENGth 6
        public string APFLART { get { if (dwMaster == null) return ""; return dwMaster["APFLART"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFLART"] = value; OnPropertyChanged("APFLART", value); } } //lENGth 6
        public double APFLSCHEINE { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFLSCHEINE"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFLSCHEINE"] = value; OnPropertyChanged("APFLSCHEINE", value); } } //lENGth 0
        public string APFLZDR { get { if (dwMaster == null) return ""; return dwMaster["APFLZDR"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFLZDR"] = value; OnPropertyChanged("APFLZDR", value); } } //lENGth 1
        public string APFVBKZ { get { if (dwMaster == null) return ""; return dwMaster["APFVBKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVBKZ"] = value; OnPropertyChanged("APFVBKZ", value); } } //lENGth 1
        public double APFZEITBT1 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT1"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT1"] = value; OnPropertyChanged("APFZEITBT1", value); } } //lENGth 0
        public double APFZEITBT2 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT2"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT2"] = value; OnPropertyChanged("APFZEITBT2", value); } } //lENGth 0
        public double APFZEITBT3 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT3"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT3"] = value; OnPropertyChanged("APFZEITBT3", value); } } //lENGth 0
        public double APFZEITBT4 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT4"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT4"] = value; OnPropertyChanged("APFZEITBT4", value); } } //lENGth 0
        public double APFZEITBT5 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT5"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT5"] = value; OnPropertyChanged("APFZEITBT5", value); } } //lENGth 0
        public double APFZEITBT6 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT6"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT6"] = value; OnPropertyChanged("APFZEITBT6", value); } } //lENGth 0
        public double APFZEITBT7 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT7"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT7"] = value; OnPropertyChanged("APFZEITBT7", value); } } //lENGth 0
        public double APFZEITBT8 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT8"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT8"] = value; OnPropertyChanged("APFZEITBT8", value); } } //lENGth 0
        public double APFZEITBT9 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT9"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT9"] = value; OnPropertyChanged("APFZEITBT9", value); } } //lENGth 0
        public double APFZEITBT10 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT10"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT10"] = value; OnPropertyChanged("APFZEITBT10", value); } } //lENGth 0
        public double APFZEITBT11 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT11"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT11"] = value; OnPropertyChanged("APFZEITBT11", value); } } //lENGth 0
        public double APFZEITBT12 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT12"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT12"] = value; OnPropertyChanged("APFZEITBT12", value); } } //lENGth 0
        public double APFZEITBT13 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT13"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT13"] = value; OnPropertyChanged("APFZEITBT13", value); } } //lENGth 0
        public double APFZEITBT14 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT14"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT14"] = value; OnPropertyChanged("APFZEITBT14", value); } } //lENGth 0
        public double APFZEITBT15 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT15"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT15"] = value; OnPropertyChanged("APFZEITBT15", value); } } //lENGth 0
        public double APFZEITBT16 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT16"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT16"] = value; OnPropertyChanged("APFZEITBT16", value); } } //lENGth 0
        public double APFZEITBT17 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT17"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT17"] = value; OnPropertyChanged("APFZEITBT17", value); } } //lENGth 0
        public double APFZEITBT18 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT18"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT18"] = value; OnPropertyChanged("APFZEITBT18", value); } } //lENGth 0
        public double APFZEITBT19 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT19"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT19"] = value; OnPropertyChanged("APFZEITBT19", value); } } //lENGth 0
        public double APFZEITBT20 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT20"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT20"] = value; OnPropertyChanged("APFZEITBT20", value); } } //lENGth 0
        public double APFZEITBT21 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT21"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT21"] = value; OnPropertyChanged("APFZEITBT21", value); } } //lENGth 0
        public double APFZEITBT22 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT22"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT22"] = value; OnPropertyChanged("APFZEITBT22", value); } } //lENGth 0
        public double APFZEITBT23 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT23"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT23"] = value; OnPropertyChanged("APFZEITBT23", value); } } //lENGth 0
        public double APFZEITBT24 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT24"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT24"] = value; OnPropertyChanged("APFZEITBT24", value); } } //lENGth 0
        public double APFZEITBT25 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT25"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT25"] = value; OnPropertyChanged("APFZEITBT25", value); } } //lENGth 0
        public double APFZEITBT26 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT26"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT26"] = value; OnPropertyChanged("APFZEITBT26", value); } } //lENGth 0
        public double APFZEITBT27 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT27"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT27"] = value; OnPropertyChanged("APFZEITBT27", value); } } //lENGth 0
        public double APFZEITBT28 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT28"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT28"] = value; OnPropertyChanged("APFZEITBT28", value); } } //lENGth 0
        public double APFZEITBT29 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT29"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT29"] = value; OnPropertyChanged("APFZEITBT29", value); } } //lENGth 0
        public double APFZEITBT30 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT30"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT30"] = value; OnPropertyChanged("APFZEITBT30", value); } } //lENGth 0
        public double APFZEITBT31 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT31"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT31"] = value; OnPropertyChanged("APFZEITBT31", value); } } //lENGth 0
        public double APFZEITBT32 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT32"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT32"] = value; OnPropertyChanged("APFZEITBT32", value); } } //lENGth 0
        public double APFZEITBT33 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT33"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT33"] = value; OnPropertyChanged("APFZEITBT33", value); } } //lENGth 0
        public double APFZEITBT34 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT34"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT34"] = value; OnPropertyChanged("APFZEITBT34", value); } } //lENGth 0
        public double APFZEITBT35 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT35"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT35"] = value; OnPropertyChanged("APFZEITBT35", value); } } //lENGth 0
        public double APFZEITBT36 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT36"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT36"] = value; OnPropertyChanged("APFZEITBT36", value); } } //lENGth 0
        public double APFZEITBT37 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT37"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT37"] = value; OnPropertyChanged("APFZEITBT37", value); } } //lENGth 0
        public double APFZEITBT38 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT38"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT38"] = value; OnPropertyChanged("APFZEITBT38", value); } } //lENGth 0
        public double APFZEITBT39 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT39"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT39"] = value; OnPropertyChanged("APFZEITBT39", value); } } //lENGth 0
        public double APFZEITBT40 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT40"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT40"] = value; OnPropertyChanged("APFZEITBT40", value); } } //lENGth 0
        public double APFZEITBT41 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT41"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT41"] = value; OnPropertyChanged("APFZEITBT41", value); } } //lENGth 0
        public double APFZEITBT42 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT42"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT42"] = value; OnPropertyChanged("APFZEITBT42", value); } } //lENGth 0
        public double APFZEITBT43 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT43"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT43"] = value; OnPropertyChanged("APFZEITBT43", value); } } //lENGth 0
        public double APFZEITBT44 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT44"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT44"] = value; OnPropertyChanged("APFZEITBT44", value); } } //lENGth 0
        public double APFZEITBT45 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT45"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT45"] = value; OnPropertyChanged("APFZEITBT45", value); } } //lENGth 0
        public double APFZEITBT46 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT46"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT46"] = value; OnPropertyChanged("APFZEITBT46", value); } } //lENGth 0
        public double APFZEITBT47 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT47"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT47"] = value; OnPropertyChanged("APFZEITBT47", value); } } //lENGth 0
        public double APFZEITBT48 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFZEITBT48"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFZEITBT48"] = value; OnPropertyChanged("APFZEITBT48", value); } } //lENGth 0
        public string APFAEVOR { get { if (dwMaster == null) return ""; return dwMaster["APFAEVOR"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFAEVOR"] = value; OnPropertyChanged("APFAEVOR", value); } } //lENGth 4
        public string APFBNRKRS { get { if (dwMaster == null) return ""; return dwMaster["APFBNRKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBNRKRS"] = value; OnPropertyChanged("APFBNRKRS", value); } } //lENGth 2
        public string APFBLFDNR { get { if (dwMaster == null) return ""; return dwMaster["APFBLFDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBLFDNR"] = value; OnPropertyChanged("APFBLFDNR", value); } } //lENGth 6
        public string APFBAFOLGE { get { if (dwMaster == null) return ""; return dwMaster["APFBAFOLGE"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBAFOLGE"] = value; OnPropertyChanged("APFBAFOLGE", value); } } //lENGth 3
        public string APFKAFOLGE1 { get { if (dwMaster == null) return ""; return dwMaster["APFKAFOLGE1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKAFOLGE1"] = value; OnPropertyChanged("APFKAFOLGE1", value); } } //lENGth 3
        public string APFKART1 { get { if (dwMaster == null) return ""; return dwMaster["APFKART1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKART1"] = value; OnPropertyChanged("APFKART1", value); } } //lENGth 2
        public double APFKZMIN1 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKZMIN1"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKZMIN1"] = value; OnPropertyChanged("APFKZMIN1", value); } } //lENGth 0
        public double APFKZMAX1 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKZMAX1"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKZMAX1"] = value; OnPropertyChanged("APFKZMAX1", value); } } //lENGth 0
        public double APFKMINWMGE1 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKMINWMGE1"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKMINWMGE1"] = value; OnPropertyChanged("APFKMINWMGE1", value); } } //lENGth 0
        public double APFKABST1 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKABST1"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKABST1"] = value; OnPropertyChanged("APFKABST1", value); } } //lENGth 0
        public string APFKZE1 { get { if (dwMaster == null) return ""; return dwMaster["APFKZE1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKZE1"] = value; OnPropertyChanged("APFKZE1", value); } } //lENGth 2
        public string APFKAFOLGE2 { get { if (dwMaster == null) return ""; return dwMaster["APFKAFOLGE2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKAFOLGE2"] = value; OnPropertyChanged("APFKAFOLGE2", value); } } //lENGth 3
        public string APFKART2 { get { if (dwMaster == null) return ""; return dwMaster["APFKART2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKART2"] = value; OnPropertyChanged("APFKART2", value); } } //lENGth 2
        public double APFKZMIN2 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKZMIN2"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKZMIN2"] = value; OnPropertyChanged("APFKZMIN2", value); } } //lENGth 0
        public double APFKZMAX2 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKZMAX2"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKZMAX2"] = value; OnPropertyChanged("APFKZMAX2", value); } } //lENGth 0
        public double APFKMINWMGE2 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKMINWMGE2"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKMINWMGE2"] = value; OnPropertyChanged("APFKMINWMGE2", value); } } //lENGth 0
        public double APFKABST2 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKABST2"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKABST2"] = value; OnPropertyChanged("APFKABST2", value); } } //lENGth 0
        public string APFKZE2 { get { if (dwMaster == null) return ""; return dwMaster["APFKZE2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKZE2"] = value; OnPropertyChanged("APFKZE2", value); } } //lENGth 2
        public string APFKAFOLGE3 { get { if (dwMaster == null) return ""; return dwMaster["APFKAFOLGE3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKAFOLGE3"] = value; OnPropertyChanged("APFKAFOLGE3", value); } } //lENGth 3
        public string APFKART3 { get { if (dwMaster == null) return ""; return dwMaster["APFKART3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKART3"] = value; OnPropertyChanged("APFKART3", value); } } //lENGth 2
        public double APFKZMIN3 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKZMIN3"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKZMIN3"] = value; OnPropertyChanged("APFKZMIN3", value); } } //lENGth 0
        public double APFKZMAX3 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKZMAX3"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKZMAX3"] = value; OnPropertyChanged("APFKZMAX3", value); } } //lENGth 0
        public double APFKMINWMGE3 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKMINWMGE3"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKMINWMGE3"] = value; OnPropertyChanged("APFKMINWMGE3", value); } } //lENGth 0
        public double APFKABST3 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKABST3"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKABST3"] = value; OnPropertyChanged("APFKABST3", value); } } //lENGth 0
        public string APFKZE3 { get { if (dwMaster == null) return ""; return dwMaster["APFKZE3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKZE3"] = value; OnPropertyChanged("APFKZE3", value); } } //lENGth 2
        public string APFKAFOLGE4 { get { if (dwMaster == null) return ""; return dwMaster["APFKAFOLGE4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKAFOLGE4"] = value; OnPropertyChanged("APFKAFOLGE4", value); } } //lENGth 3
        public string APFKART4 { get { if (dwMaster == null) return ""; return dwMaster["APFKART4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKART4"] = value; OnPropertyChanged("APFKART4", value); } } //lENGth 2
        public double APFKZMIN4 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKZMIN4"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKZMIN4"] = value; OnPropertyChanged("APFKZMIN4", value); } } //lENGth 0
        public double APFKZMAX4 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKZMAX4"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKZMAX4"] = value; OnPropertyChanged("APFKZMAX4", value); } } //lENGth 0
        public double APFKMINWMGE4 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKMINWMGE4"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKMINWMGE4"] = value; OnPropertyChanged("APFKMINWMGE4", value); } } //lENGth 0
        public double APFKABST4 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKABST4"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKABST4"] = value; OnPropertyChanged("APFKABST4", value); } } //lENGth 0
        public string APFKZE4 { get { if (dwMaster == null) return ""; return dwMaster["APFKZE4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKZE4"] = value; OnPropertyChanged("APFKZE4", value); } } //lENGth 2
        public string APFKAFOLGE5 { get { if (dwMaster == null) return ""; return dwMaster["APFKAFOLGE5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKAFOLGE5"] = value; OnPropertyChanged("APFKAFOLGE5", value); } } //lENGth 3
        public string APFKART5 { get { if (dwMaster == null) return ""; return dwMaster["APFKART5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKART5"] = value; OnPropertyChanged("APFKART5", value); } } //lENGth 2
        public double APFKZMIN5 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKZMIN5"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKZMIN5"] = value; OnPropertyChanged("APFKZMIN5", value); } } //lENGth 0
        public double APFKZMAX5 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKZMAX5"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKZMAX5"] = value; OnPropertyChanged("APFKZMAX5", value); } } //lENGth 0
        public double APFKMINWMGE5 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKMINWMGE5"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKMINWMGE5"] = value; OnPropertyChanged("APFKMINWMGE5", value); } } //lENGth 0
        public double APFKABST5 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFKABST5"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFKABST5"] = value; OnPropertyChanged("APFKABST5", value); } } //lENGth 0
        public string APFKZE5 { get { if (dwMaster == null) return ""; return dwMaster["APFKZE5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFKZE5"] = value; OnPropertyChanged("APFKZE5", value); } } //lENGth 2
        public string APFVZUSA { get { if (dwMaster == null) return ""; return dwMaster["APFVZUSA"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVZUSA"] = value; OnPropertyChanged("APFVZUSA", value); } } //lENGth 1
        public string APFVFDVF1 { get { if (dwMaster == null) return ""; return dwMaster["APFVFDVF1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVFDVF1"] = value; OnPropertyChanged("APFVFDVF1", value); } } //lENGth 3
        public string APFVFDVF2 { get { if (dwMaster == null) return ""; return dwMaster["APFVFDVF2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVFDVF2"] = value; OnPropertyChanged("APFVFDVF2", value); } } //lENGth 3
        public string APFVFDVF3 { get { if (dwMaster == null) return ""; return dwMaster["APFVFDVF3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVFDVF3"] = value; OnPropertyChanged("APFVFDVF3", value); } } //lENGth 3
        public string APFVFDVF4 { get { if (dwMaster == null) return ""; return dwMaster["APFVFDVF4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVFDVF4"] = value; OnPropertyChanged("APFVFDVF4", value); } } //lENGth 3
        public string APFVFDVF5 { get { if (dwMaster == null) return ""; return dwMaster["APFVFDVF5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVFDVF5"] = value; OnPropertyChanged("APFVFDVF5", value); } } //lENGth 3
        public string APFNEGVERF { get { if (dwMaster == null) return ""; return dwMaster["APFNEGVERF"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGVERF"] = value; OnPropertyChanged("APFNEGVERF", value); } } //lENGth 1
        public string APFRZUSA { get { if (dwMaster == null) return ""; return dwMaster["APFRZUSA"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFRZUSA"] = value; OnPropertyChanged("APFRZUSA", value); } } //lENGth 1
        public string APFRUESTGRP1 { get { if (dwMaster == null) return ""; return dwMaster["APFRUESTGRP1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFRUESTGRP1"] = value; OnPropertyChanged("APFRUESTGRP1", value); } } //lENGth 3
        public string APFRUESTGRP2 { get { if (dwMaster == null) return ""; return dwMaster["APFRUESTGRP2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFRUESTGRP2"] = value; OnPropertyChanged("APFRUESTGRP2", value); } } //lENGth 3
        public string APFRUESTGRP3 { get { if (dwMaster == null) return ""; return dwMaster["APFRUESTGRP3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFRUESTGRP3"] = value; OnPropertyChanged("APFRUESTGRP3", value); } } //lENGth 3
        public string APFRUESTGRP4 { get { if (dwMaster == null) return ""; return dwMaster["APFRUESTGRP4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFRUESTGRP4"] = value; OnPropertyChanged("APFRUESTGRP4", value); } } //lENGth 3
        public string APFRUESTGRP5 { get { if (dwMaster == null) return ""; return dwMaster["APFRUESTGRP5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFRUESTGRP5"] = value; OnPropertyChanged("APFRUESTGRP5", value); } } //lENGth 3
        public string APFNEGRGRP { get { if (dwMaster == null) return ""; return dwMaster["APFNEGRGRP"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGRGRP"] = value; OnPropertyChanged("APFNEGRGRP", value); } } //lENGth 1
        public string APFPZUSA { get { if (dwMaster == null) return ""; return dwMaster["APFPZUSA"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFPZUSA"] = value; OnPropertyChanged("APFPZUSA", value); } } //lENGth 1
        public string APFPRUEFGRP1 { get { if (dwMaster == null) return ""; return dwMaster["APFPRUEFGRP1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFPRUEFGRP1"] = value; OnPropertyChanged("APFPRUEFGRP1", value); } } //lENGth 1
        public string APFPRUEFGRP2 { get { if (dwMaster == null) return ""; return dwMaster["APFPRUEFGRP2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFPRUEFGRP2"] = value; OnPropertyChanged("APFPRUEFGRP2", value); } } //lENGth 1
        public string APFPRUEFGRP3 { get { if (dwMaster == null) return ""; return dwMaster["APFPRUEFGRP3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFPRUEFGRP3"] = value; OnPropertyChanged("APFPRUEFGRP3", value); } } //lENGth 1
        public string APFPRUEFGRP4 { get { if (dwMaster == null) return ""; return dwMaster["APFPRUEFGRP4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFPRUEFGRP4"] = value; OnPropertyChanged("APFPRUEFGRP4", value); } } //lENGth 1
        public string APFPRUEFGRP5 { get { if (dwMaster == null) return ""; return dwMaster["APFPRUEFGRP5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFPRUEFGRP5"] = value; OnPropertyChanged("APFPRUEFGRP5", value); } } //lENGth 1
        public string APFNEGPGRP { get { if (dwMaster == null) return ""; return dwMaster["APFNEGPGRP"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGPGRP"] = value; OnPropertyChanged("APFNEGPGRP", value); } } //lENGth 1
        public string APFQCCHECK { get { if (dwMaster == null) return ""; return dwMaster["APFQCCHECK"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFQCCHECK"] = value; OnPropertyChanged("APFQCCHECK", value); } } //lENGth 1
        public double APFOQUATF { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFOQUATF"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFOQUATF"] = value; OnPropertyChanged("APFOQUATF", value); } } //lENGth 0
        public double APFOQUATUT { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFOQUATUT"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFOQUATUT"] = value; OnPropertyChanged("APFOQUATUT", value); } } //lENGth 0
        public string APFOQUNIT { get { if (dwMaster == null) return ""; return dwMaster["APFOQUNIT"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFOQUNIT"] = value; OnPropertyChanged("APFOQUNIT", value); } } //lENGth 1
        public string APFTLVF1 { get { if (dwMaster == null) return ""; return dwMaster["APFTLVF1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFTLVF1"] = value; OnPropertyChanged("APFTLVF1", value); } } //lENGth 3
        public string APFTLVF2 { get { if (dwMaster == null) return ""; return dwMaster["APFTLVF2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFTLVF2"] = value; OnPropertyChanged("APFTLVF2", value); } } //lENGth 3
        public string APFTLVF3 { get { if (dwMaster == null) return ""; return dwMaster["APFTLVF3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFTLVF3"] = value; OnPropertyChanged("APFTLVF3", value); } } //lENGth 3
        public string APFTLVF4 { get { if (dwMaster == null) return ""; return dwMaster["APFTLVF4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFTLVF4"] = value; OnPropertyChanged("APFTLVF4", value); } } //lENGth 3
        public string APFTLVF5 { get { if (dwMaster == null) return ""; return dwMaster["APFTLVF5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFTLVF5"] = value; OnPropertyChanged("APFTLVF5", value); } } //lENGth 3
        public string APFNEGTLVF { get { if (dwMaster == null) return ""; return dwMaster["APFNEGTLVF"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGTLVF"] = value; OnPropertyChanged("APFNEGTLVF", value); } } //lENGth 1
        public string APFIAUFMSL1 { get { if (dwMaster == null) return ""; return dwMaster["APFIAUFMSL1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFIAUFMSL1"] = value; OnPropertyChanged("APFIAUFMSL1", value); } } //lENGth 2
        public string APFIAUFMSL2 { get { if (dwMaster == null) return ""; return dwMaster["APFIAUFMSL2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFIAUFMSL2"] = value; OnPropertyChanged("APFIAUFMSL2", value); } } //lENGth 2
        public string APFIAUFMSL3 { get { if (dwMaster == null) return ""; return dwMaster["APFIAUFMSL3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFIAUFMSL3"] = value; OnPropertyChanged("APFIAUFMSL3", value); } } //lENGth 2
        public string APFIAUFMSL4 { get { if (dwMaster == null) return ""; return dwMaster["APFIAUFMSL4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFIAUFMSL4"] = value; OnPropertyChanged("APFIAUFMSL4", value); } } //lENGth 2
        public string APFIAUFMSL5 { get { if (dwMaster == null) return ""; return dwMaster["APFIAUFMSL5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFIAUFMSL5"] = value; OnPropertyChanged("APFIAUFMSL5", value); } } //lENGth 2
        public string APFIAUFMSL6 { get { if (dwMaster == null) return ""; return dwMaster["APFIAUFMSL6"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFIAUFMSL6"] = value; OnPropertyChanged("APFIAUFMSL6", value); } } //lENGth 2
        public string APFNEGAUFM { get { if (dwMaster == null) return ""; return dwMaster["APFNEGAUFM"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGAUFM"] = value; OnPropertyChanged("APFNEGAUFM", value); } } //lENGth 1
        public string APFOAUFMSL1 { get { if (dwMaster == null) return ""; return dwMaster["APFOAUFMSL1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFOAUFMSL1"] = value; OnPropertyChanged("APFOAUFMSL1", value); } } //lENGth 2
        public string APFOAUFMSL2 { get { if (dwMaster == null) return ""; return dwMaster["APFOAUFMSL2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFOAUFMSL2"] = value; OnPropertyChanged("APFOAUFMSL2", value); } } //lENGth 2
        public string APFOAUFMSL3 { get { if (dwMaster == null) return ""; return dwMaster["APFOAUFMSL3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFOAUFMSL3"] = value; OnPropertyChanged("APFOAUFMSL3", value); } } //lENGth 2
        public string APFOAUFMSL4 { get { if (dwMaster == null) return ""; return dwMaster["APFOAUFMSL4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFOAUFMSL4"] = value; OnPropertyChanged("APFOAUFMSL4", value); } } //lENGth 2
        public string APFOAUFMSL5 { get { if (dwMaster == null) return ""; return dwMaster["APFOAUFMSL5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFOAUFMSL5"] = value; OnPropertyChanged("APFOAUFMSL5", value); } } //lENGth 2
        public string APFOAUFMSL6 { get { if (dwMaster == null) return ""; return dwMaster["APFOAUFMSL6"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFOAUFMSL6"] = value; OnPropertyChanged("APFOAUFMSL6", value); } } //lENGth 2
        public string APFONEGAUFM { get { if (dwMaster == null) return ""; return dwMaster["APFONEGAUFM"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFONEGAUFM"] = value; OnPropertyChanged("APFONEGAUFM", value); } } //lENGth 1
        public string APFZAM1 { get { if (dwMaster == null) return ""; return dwMaster["APFZAM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZAM1"] = value; OnPropertyChanged("APFZAM1", value); } } //lENGth 2
        public string APFZAM2 { get { if (dwMaster == null) return ""; return dwMaster["APFZAM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZAM2"] = value; OnPropertyChanged("APFZAM2", value); } } //lENGth 2
        public string APFZAM3 { get { if (dwMaster == null) return ""; return dwMaster["APFZAM3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZAM3"] = value; OnPropertyChanged("APFZAM3", value); } } //lENGth 2
        public string APFZAM4 { get { if (dwMaster == null) return ""; return dwMaster["APFZAM4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZAM4"] = value; OnPropertyChanged("APFZAM4", value); } } //lENGth 2
        public string APFZAM5 { get { if (dwMaster == null) return ""; return dwMaster["APFZAM5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZAM5"] = value; OnPropertyChanged("APFZAM5", value); } } //lENGth 2
        public string APFNEGZAM { get { if (dwMaster == null) return ""; return dwMaster["APFNEGZAM"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGZAM"] = value; OnPropertyChanged("APFNEGZAM", value); } } //lENGth 1
        public string APFVERP1 { get { if (dwMaster == null) return ""; return dwMaster["APFVERP1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVERP1"] = value; OnPropertyChanged("APFVERP1", value); } } //lENGth 4
        public string APFVERP2 { get { if (dwMaster == null) return ""; return dwMaster["APFVERP2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVERP2"] = value; OnPropertyChanged("APFVERP2", value); } } //lENGth 4
        public string APFVERP3 { get { if (dwMaster == null) return ""; return dwMaster["APFVERP3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVERP3"] = value; OnPropertyChanged("APFVERP3", value); } } //lENGth 4
        public string APFVERP4 { get { if (dwMaster == null) return ""; return dwMaster["APFVERP4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVERP4"] = value; OnPropertyChanged("APFVERP4", value); } } //lENGth 4
        public string APFVERP5 { get { if (dwMaster == null) return ""; return dwMaster["APFVERP5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVERP5"] = value; OnPropertyChanged("APFVERP5", value); } } //lENGth 4
        public string APFNEGVERP { get { if (dwMaster == null) return ""; return dwMaster["APFNEGVERP"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGVERP"] = value; OnPropertyChanged("APFNEGVERP", value); } } //lENGth 1
        public string APFSUBSTGR1 { get { if (dwMaster == null) return ""; return dwMaster["APFSUBSTGR1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFSUBSTGR1"] = value; OnPropertyChanged("APFSUBSTGR1", value); } } //lENGth 3
        public string APFSUBSTGR2 { get { if (dwMaster == null) return ""; return dwMaster["APFSUBSTGR2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFSUBSTGR2"] = value; OnPropertyChanged("APFSUBSTGR2", value); } } //lENGth 3
        public string APFSUBSTGR3 { get { if (dwMaster == null) return ""; return dwMaster["APFSUBSTGR3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFSUBSTGR3"] = value; OnPropertyChanged("APFSUBSTGR3", value); } } //lENGth 3
        public string APFSUBSTGR4 { get { if (dwMaster == null) return ""; return dwMaster["APFSUBSTGR4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFSUBSTGR4"] = value; OnPropertyChanged("APFSUBSTGR4", value); } } //lENGth 3
        public string APFSUBSTGR5 { get { if (dwMaster == null) return ""; return dwMaster["APFSUBSTGR5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFSUBSTGR5"] = value; OnPropertyChanged("APFSUBSTGR5", value); } } //lENGth 3
        public string APFNEGSUBST { get { if (dwMaster == null) return ""; return dwMaster["APFNEGSUBST"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGSUBST"] = value; OnPropertyChanged("APFNEGSUBST", value); } } //lENGth 1
        public string APFWAART1 { get { if (dwMaster == null) return ""; return dwMaster["APFWAART1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFWAART1"] = value; OnPropertyChanged("APFWAART1", value); } } //lENGth 3
        public string APFWAART2 { get { if (dwMaster == null) return ""; return dwMaster["APFWAART2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFWAART2"] = value; OnPropertyChanged("APFWAART2", value); } } //lENGth 3
        public string APFWAART3 { get { if (dwMaster == null) return ""; return dwMaster["APFWAART3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFWAART3"] = value; OnPropertyChanged("APFWAART3", value); } } //lENGth 3
        public string APFWAART4 { get { if (dwMaster == null) return ""; return dwMaster["APFWAART4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFWAART4"] = value; OnPropertyChanged("APFWAART4", value); } } //lENGth 3
        public string APFWAART5 { get { if (dwMaster == null) return ""; return dwMaster["APFWAART5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFWAART5"] = value; OnPropertyChanged("APFWAART5", value); } } //lENGth 3
        public string APFNEGWAART { get { if (dwMaster == null) return ""; return dwMaster["APFNEGWAART"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGWAART"] = value; OnPropertyChanged("APFNEGWAART", value); } } //lENGth 1
        public string APFBHDLG1 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG1"] = value; OnPropertyChanged("APFBHDLG1", value); } } //lENGth 3
        public string APFBHDLG2 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG2"] = value; OnPropertyChanged("APFBHDLG2", value); } } //lENGth 3
        public string APFBHDLG3 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG3"] = value; OnPropertyChanged("APFBHDLG3", value); } } //lENGth 3
        public string APFBHDLG4 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG4"] = value; OnPropertyChanged("APFBHDLG4", value); } } //lENGth 3
        public string APFBHDLG5 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG5"] = value; OnPropertyChanged("APFBHDLG5", value); } } //lENGth 3
        public string APFBHDLG6 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG6"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG6"] = value; OnPropertyChanged("APFBHDLG6", value); } } //lENGth 3
        public string APFNEGBHDLG { get { if (dwMaster == null) return ""; return dwMaster["APFNEGBHDLG"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGBHDLG"] = value; OnPropertyChanged("APFNEGBHDLG", value); } } //lENGth 1
        public string APFBHDLG21 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG21"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG21"] = value; OnPropertyChanged("APFBHDLG21", value); } } //lENGth 3
        public string APFBHDLG22 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG22"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG22"] = value; OnPropertyChanged("APFBHDLG22", value); } } //lENGth 3
        public string APFBHDLG23 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG23"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG23"] = value; OnPropertyChanged("APFBHDLG23", value); } } //lENGth 3
        public string APFBHDLG24 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG24"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG24"] = value; OnPropertyChanged("APFBHDLG24", value); } } //lENGth 3
        public string APFBHDLG25 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG25"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG25"] = value; OnPropertyChanged("APFBHDLG25", value); } } //lENGth 3
        public string APFBHDLG26 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG26"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG26"] = value; OnPropertyChanged("APFBHDLG26", value); } } //lENGth 3
        public string APFNEGBHDLG2 { get { if (dwMaster == null) return ""; return dwMaster["APFNEGBHDLG2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGBHDLG2"] = value; OnPropertyChanged("APFNEGBHDLG2", value); } } //lENGth 1
        public string APFBHDLG31 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG31"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG31"] = value; OnPropertyChanged("APFBHDLG31", value); } } //lENGth 3
        public string APFBHDLG32 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG32"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG32"] = value; OnPropertyChanged("APFBHDLG32", value); } } //lENGth 3
        public string APFBHDLG33 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG33"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG33"] = value; OnPropertyChanged("APFBHDLG33", value); } } //lENGth 3
        public string APFBHDLG34 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG34"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG34"] = value; OnPropertyChanged("APFBHDLG34", value); } } //lENGth 3
        public string APFBHDLG35 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG35"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG35"] = value; OnPropertyChanged("APFBHDLG35", value); } } //lENGth 3
        public string APFBHDLG36 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG36"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG36"] = value; OnPropertyChanged("APFBHDLG36", value); } } //lENGth 3
        public string APFNEGBHDLG3 { get { if (dwMaster == null) return ""; return dwMaster["APFNEGBHDLG3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGBHDLG3"] = value; OnPropertyChanged("APFNEGBHDLG3", value); } } //lENGth 1
        public string APFBHDLG41 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG41"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG41"] = value; OnPropertyChanged("APFBHDLG41", value); } } //lENGth 3
        public string APFBHDLG42 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG42"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG42"] = value; OnPropertyChanged("APFBHDLG42", value); } } //lENGth 3
        public string APFBHDLG43 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG43"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG43"] = value; OnPropertyChanged("APFBHDLG43", value); } } //lENGth 3
        public string APFBHDLG44 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG44"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG44"] = value; OnPropertyChanged("APFBHDLG44", value); } } //lENGth 3
        public string APFBHDLG45 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG45"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG45"] = value; OnPropertyChanged("APFBHDLG45", value); } } //lENGth 3
        public string APFBHDLG46 { get { if (dwMaster == null) return ""; return dwMaster["APFBHDLG46"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBHDLG46"] = value; OnPropertyChanged("APFBHDLG46", value); } } //lENGth 3
        public string APFNEGBHDLG4 { get { if (dwMaster == null) return ""; return dwMaster["APFNEGBHDLG4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGBHDLG4"] = value; OnPropertyChanged("APFNEGBHDLG4", value); } } //lENGth 1
        public string APFFBKL1 { get { if (dwMaster == null) return ""; return dwMaster["APFFBKL1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFFBKL1"] = value; OnPropertyChanged("APFFBKL1", value); } } //lENGth 3
        public string APFFBKL2 { get { if (dwMaster == null) return ""; return dwMaster["APFFBKL2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFFBKL2"] = value; OnPropertyChanged("APFFBKL2", value); } } //lENGth 3
        public string APFFBKL3 { get { if (dwMaster == null) return ""; return dwMaster["APFFBKL3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFFBKL3"] = value; OnPropertyChanged("APFFBKL3", value); } } //lENGth 3
        public string APFFBKL4 { get { if (dwMaster == null) return ""; return dwMaster["APFFBKL4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFFBKL4"] = value; OnPropertyChanged("APFFBKL4", value); } } //lENGth 3
        public string APFFBKL5 { get { if (dwMaster == null) return ""; return dwMaster["APFFBKL5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFFBKL5"] = value; OnPropertyChanged("APFFBKL5", value); } } //lENGth 3
        public string APFFBKL6 { get { if (dwMaster == null) return ""; return dwMaster["APFFBKL6"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFFBKL6"] = value; OnPropertyChanged("APFFBKL6", value); } } //lENGth 3
        public string APFNEGFBKL { get { if (dwMaster == null) return ""; return dwMaster["APFNEGFBKL"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGFBKL"] = value; OnPropertyChanged("APFNEGFBKL", value); } } //lENGth 1
        public string APFMERK11 { get { if (dwMaster == null) return ""; return dwMaster["APFMERK11"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFMERK11"] = value; OnPropertyChanged("APFMERK11", value); } } //lENGth 3
        public string APFMERK12 { get { if (dwMaster == null) return ""; return dwMaster["APFMERK12"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFMERK12"] = value; OnPropertyChanged("APFMERK12", value); } } //lENGth 3
        public string APFMERK13 { get { if (dwMaster == null) return ""; return dwMaster["APFMERK13"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFMERK13"] = value; OnPropertyChanged("APFMERK13", value); } } //lENGth 3
        public string APFMERK14 { get { if (dwMaster == null) return ""; return dwMaster["APFMERK14"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFMERK14"] = value; OnPropertyChanged("APFMERK14", value); } } //lENGth 3
        public string APFMERK15 { get { if (dwMaster == null) return ""; return dwMaster["APFMERK15"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFMERK15"] = value; OnPropertyChanged("APFMERK15", value); } } //lENGth 3
        public string APFMERK16 { get { if (dwMaster == null) return ""; return dwMaster["APFMERK16"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFMERK16"] = value; OnPropertyChanged("APFMERK16", value); } } //lENGth 3
        public string APFNEGMERK1 { get { if (dwMaster == null) return ""; return dwMaster["APFNEGMERK1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGMERK1"] = value; OnPropertyChanged("APFNEGMERK1", value); } } //lENGth 1
        public string APFHANDICAP1 { get { if (dwMaster == null) return ""; return dwMaster["APFHANDICAP1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFHANDICAP1"] = value; OnPropertyChanged("APFHANDICAP1", value); } } //lENGth 3
        public string APFHANDICAP2 { get { if (dwMaster == null) return ""; return dwMaster["APFHANDICAP2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFHANDICAP2"] = value; OnPropertyChanged("APFHANDICAP2", value); } } //lENGth 3
        public string APFHANDICAP3 { get { if (dwMaster == null) return ""; return dwMaster["APFHANDICAP3"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFHANDICAP3"] = value; OnPropertyChanged("APFHANDICAP3", value); } } //lENGth 3
        public string APFHANDICAP4 { get { if (dwMaster == null) return ""; return dwMaster["APFHANDICAP4"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFHANDICAP4"] = value; OnPropertyChanged("APFHANDICAP4", value); } } //lENGth 3
        public string APFHANDICAP5 { get { if (dwMaster == null) return ""; return dwMaster["APFHANDICAP5"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFHANDICAP5"] = value; OnPropertyChanged("APFHANDICAP5", value); } } //lENGth 3
        public string APFHANDICAP6 { get { if (dwMaster == null) return ""; return dwMaster["APFHANDICAP6"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFHANDICAP6"] = value; OnPropertyChanged("APFHANDICAP6", value); } } //lENGth 3
        public string APFNEGHANDICAP { get { if (dwMaster == null) return ""; return dwMaster["APFNEGHANDICAP"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGHANDICAP"] = value; OnPropertyChanged("APFNEGHANDICAP", value); } } //lENGth 1
        public string APFGEWSCHL { get { if (dwMaster == null) return ""; return dwMaster["APFGEWSCHL"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFGEWSCHL"] = value; OnPropertyChanged("APFGEWSCHL", value); } } //lENGth 2
        public double APFGEW1 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFGEW1"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFGEW1"] = value; OnPropertyChanged("APFGEW1", value); } } //lENGth 0
        public double APFGEW2 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFGEW2"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFGEW2"] = value; OnPropertyChanged("APFGEW2", value); } } //lENGth 0
        public string APFNEGGEW { get { if (dwMaster == null) return ""; return dwMaster["APFNEGGEW"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGGEW"] = value; OnPropertyChanged("APFNEGGEW", value); } } //lENGth 1
        public string APFBRTSCHL { get { if (dwMaster == null) return ""; return dwMaster["APFBRTSCHL"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFBRTSCHL"] = value; OnPropertyChanged("APFBRTSCHL", value); } } //lENGth 1
        public double APFBRT1 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFBRT1"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFBRT1"] = value; OnPropertyChanged("APFBRT1", value); } } //lENGth 0
        public double APFBRT2 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFBRT2"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFBRT2"] = value; OnPropertyChanged("APFBRT2", value); } } //lENGth 0
        public string APFNEGBRT { get { if (dwMaster == null) return ""; return dwMaster["APFNEGBRT"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGBRT"] = value; OnPropertyChanged("APFNEGBRT", value); } } //lENGth 1
        public string APFWERT2SCHL { get { if (dwMaster == null) return ""; return dwMaster["APFWERT2SCHL"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFWERT2SCHL"] = value; OnPropertyChanged("APFWERT2SCHL", value); } } //lENGth 2
        public double APFWERT21 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFWERT21"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFWERT21"] = value; OnPropertyChanged("APFWERT21", value); } } //lENGth 0
        public double APFWERT22 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFWERT22"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFWERT22"] = value; OnPropertyChanged("APFWERT22", value); } } //lENGth 0
        public string APFNEGWERT2 { get { if (dwMaster == null) return ""; return dwMaster["APFNEGWERT2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGWERT2"] = value; OnPropertyChanged("APFNEGWERT2", value); } } //lENGth 1
        public string APFMERK2 { get { if (dwMaster == null) return ""; return dwMaster["APFMERK2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFMERK2"] = value; OnPropertyChanged("APFMERK2", value); } } //lENGth 2
        public string APFMERKSCHL { get { if (dwMaster == null) return ""; return dwMaster["APFMERKSCHL"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFMERKSCHL"] = value; OnPropertyChanged("APFMERKSCHL", value); } } //lENGth 15
        public string APFNEGMERK2 { get { if (dwMaster == null) return ""; return dwMaster["APFNEGMERK2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEGMERK2"] = value; OnPropertyChanged("APFNEGMERK2", value); } } //lENGth 1
        public string APFANFART1 { get { if (dwMaster == null) return ""; return dwMaster["APFANFART1"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFANFART1"] = value; OnPropertyChanged("APFANFART1", value); } } //lENGth 4
        public string APFANFWERT11 { get { if (dwMaster == null) return ""; return dwMaster["APFANFWERT11"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFANFWERT11"] = value; OnPropertyChanged("APFANFWERT11", value); } } //lENGth 20
        public string APFANFWERT12 { get { if (dwMaster == null) return ""; return dwMaster["APFANFWERT12"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFANFWERT12"] = value; OnPropertyChanged("APFANFWERT12", value); } } //lENGth 20
        public string APFANFART2 { get { if (dwMaster == null) return ""; return dwMaster["APFANFART2"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFANFART2"] = value; OnPropertyChanged("APFANFART2", value); } } //lENGth 4
        public string APFANFWERT21 { get { if (dwMaster == null) return ""; return dwMaster["APFANFWERT21"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFANFWERT21"] = value; OnPropertyChanged("APFANFWERT21", value); } } //lENGth 20
        public string APFANFWERT22 { get { if (dwMaster == null) return ""; return dwMaster["APFANFWERT22"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFANFWERT22"] = value; OnPropertyChanged("APFANFWERT22", value); } } //lENGth 20
        public double APFUEBZT { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFUEBZT"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFUEBZT"] = value; OnPropertyChanged("APFUEBZT", value); } } //lENGth 0
        public string APFAUSFA { get { if (dwMaster == null) return ""; return dwMaster["APFAUSFA"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFAUSFA"] = value; OnPropertyChanged("APFAUSFA", value); } } //lENGth 1
        public string APFAUSFB { get { if (dwMaster == null) return ""; return dwMaster["APFAUSFB"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFAUSFB"] = value; OnPropertyChanged("APFAUSFB", value); } } //lENGth 1
        public string APFAMETHODE { get { if (dwMaster == null) return ""; return dwMaster["APFAMETHODE"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFAMETHODE"] = value; OnPropertyChanged("APFAMETHODE", value); } } //lENGth 8
        public string APFAAFOLGE { get { if (dwMaster == null) return ""; return dwMaster["APFAAFOLGE"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFAAFOLGE"] = value; OnPropertyChanged("APFAAFOLGE", value); } } //lENGth 3
        public string APFVNAME { get { if (dwMaster == null) return ""; return dwMaster["APFVNAME"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFVNAME"] = value; OnPropertyChanged("APFVNAME", value); } } //lENGth 5
        public double APFFLAG { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFFLAG"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFFLAG"] = value; OnPropertyChanged("APFFLAG", value); } } //lENGth 0
        public double APFTRKOST { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFTRKOST"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFTRKOST"] = value; OnPropertyChanged("APFTRKOST", value); } } //lENGth 0
        public double APFSOKOST { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFSOKOST"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFSOKOST"] = value; OnPropertyChanged("APFSOKOST", value); } } //lENGth 0
        public string APFSOME { get { if (dwMaster == null) return ""; return dwMaster["APFSOME"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFSOME"] = value; OnPropertyChanged("APFSOME", value); } } //lENGth 1
        public string APFZLKOST { get { if (dwMaster == null) return ""; return dwMaster["APFZLKOST"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFZLKOST"] = value; OnPropertyChanged("APFZLKOST", value); } } //lENGth 4
        public string APFURLAND { get { if (dwMaster == null) return ""; return dwMaster["APFURLAND"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFURLAND"] = value; OnPropertyChanged("APFURLAND", value); } } //lENGth 3
        public double APFAENDZL { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFAENDZL"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFAENDZL"] = value; OnPropertyChanged("APFAENDZL", value); } } //lENGth 0
        public string APFAENDBEN { get { if (dwMaster == null) return ""; return dwMaster["APFAENDBEN"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFAENDBEN"] = value; OnPropertyChanged("APFAENDBEN", value); } } //lENGth 8
        public double APFAENDDAT { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFAENDDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFAENDDAT"] = value; OnPropertyChanged("APFAENDDAT", value); } } //lENGth 0
        public string APFNEUBEN { get { if (dwMaster == null) return ""; return dwMaster["APFNEUBEN"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFNEUBEN"] = value; OnPropertyChanged("APFNEUBEN", value); } } //lENGth 8
        public double APFNEUDAT { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["APFNEUDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["APFNEUDAT"] = value; OnPropertyChanged("APFNEUDAT", value); } } //lENGth 0
        public string APFFILLER { get { if (dwMaster == null) return ""; return dwMaster["APFFILLER"].ToString(); } set { if (dwMaster == null) return; dwMaster["APFFILLER"] = value; OnPropertyChanged("APFFILLER", value); } } //lENGth 102

    }
}

